home *** CD-ROM | disk | FTP | other *** search
/ Network Supervisor's Toolkit / Network Supervisor's Toolkit.iso / tools / cdn / cdn.doc < prev    next >
Text File  |  1996-07-10  |  32KB  |  640 lines

  1.                  CHANGE DIRECTORY / NETWORK  (CDn)  v2.00
  2.                                      
  3.              Automatic drive mapping for your Novell  network
  4.                                      
  5.          Copyright  by Barry Brevik 1993, 1994 all rights reserved
  6.                               711 Calle Cardo
  7.                           Thousand Oaks, CA 91360
  8.                               CIS 70132,2277
  9.  
  10.        Novell and NetWare are registered trademarks of Novell, Inc.
  11. Microsoft is a registered trademark and Windows is a trademark of Microsoft
  12.                                Corporation.
  13.        CDn is not in the public domain- see SHAREWARE NOTICE below.
  14.                  This user's guide dated February 14, 1994
  15.  
  16.  
  17.                                  OVERVIEW
  18. CDn  is a Novell NetWare specific application that makes it easy for anyone
  19. to  automatically map and de-map network drives, including  SEARCH  drives,
  20. from inside a batch file or from the command line.  CDn delivers all of the
  21. drive  mapping  capability that most users will ever need  while  providing
  22. many  functions not found in the NetWare MAP command.  CDn  boasts  all  of
  23. these features:
  24.  
  25. Map a new drive and switch to it with one command.  This is useful both  at
  26. the  command line and in batch files.  Don't worry about drive letters, CDn
  27. will  automatically select the first available drive or  re-map  a  current
  28. drive- it's your choice.
  29.  
  30. Add  and remove SEARCH drives even when shelled out from one or more parent
  31. programs.
  32.  
  33. Save  and  restore entire drive maps.  You can save a drive map, obliterate
  34. the current maps, start a new series of maps for specific applications, and
  35. then restore the original maps all using only CDn.
  36.  
  37. Map any user's SYS:MAIL directory by knowing only the user name.
  38.  
  39. Map the current user's SYS:MAIL directory WITHOUT knowing the name.
  40.  
  41. Map non-existent or even valid LOCAL drives to a network path.
  42.  
  43. Map any specific drive letter as a normal or a SEARCH drive.
  44.  
  45. Add a FAKE ROOT or SEARCH DRIVE status to any drive.
  46.  
  47. The  MAP SEARCH and the MAP ROOT switches work in conjunction with  all  of
  48. the  CDn  command  line options so you can create numerous  useful  mapping
  49. situations  such as adding a user's SYS:MAIL directory as  a  SEARCH  drive
  50. with a fake root.
  51.  
  52.                               INSTALLATION
  53. To  install  CDn, copy it to a drive and directory that will always  be  in
  54. your  path.   My method is to place it in both a common  network  directory
  55. such as SYS:PUBLIC and on each node's local disk, since CDn  works  whether
  56. you are logged in or not.
  57.  
  58.                                   page 1
  59.                               HOW TO USE CDn
  60. All  of  CDn's  functions are detailed in this document, but  you  can  get
  61. started right away by reading the short command summary and examples below.
  62. CDn's  strong point is it's simplicity- users have even been known to  find
  63. it enjoyable.  First, a few basic concepts and then on to some examples.
  64.  
  65. 1)  A CDn command consists of the program name "cdn" followed by either:
  66.      a network path (switches can optionally be added)    or
  67.      a network username (switches can optionally be added)    or
  68.      a drive letter in the range of A - Z followed by a network path
  69.            (e.g. "G:=SYS:\HOME") (switches can optionally be added)    or
  70.      an absolute DOS path (e.g. "C:\DOS") or
  71.      one or more switches alone without a network path.
  72.  
  73. A  network  path consists of three parts:  the file server, the volume  and
  74. the path.  For example-
  75.  
  76.      FS1/SYS:HOME    or  \\FS1\SYS\HOME\
  77.  
  78.      FS1 is the file server name (optional)
  79.      SYS: is the NetWare volume name.
  80.      HOME is the path name.
  81.  
  82. The  file  server name is always optional with CDn.  If you do not  have  a
  83. multiple  file server environment, you do not need the prefix.  If  you  do
  84. have  multiple file servers and you omit the prefix, CDn will perform  it's
  85. actions using the current default file server as it's venue.
  86.  
  87. 2)   You  can add the following switches to any CDn command to enhance  the
  88. scope  of that command.  These switches are used in combination with  other
  89. command line options but never by themselves.
  90.  
  91. -N   Forces the creation of a NEW drive.
  92. -NS  Creates a SEARCH drive (New Search).
  93. -R   Creates a FAKE ROOT.
  94.  
  95. These  switches can appear in any order and be upper, lower or mixed  case.
  96. You  can combine any of these switches, but do not use both -N and  -NS  on
  97. the same command line...  -NS combines the NEW and SEARCH functions.
  98.  
  99. 3)   By  default, CDn will try to re-map an existing drive that is  already
  100. mapped to the target volume.  In other words, if  drive  G:  is  mapped  as
  101. "sys:public\apps\wordproc", and you enter "cdn sys:public\mail",  then  CDn
  102. will re-map drive G: as "sys:public\mail".  This feature prevents you  from
  103. quickly depleting the supply of drive letters.  You can force CDn to map an
  104. unused drive letter by using the "-N" switch .  If  there  is  no  existing
  105. drive mapped to the target volume,  CDn will use a new drive  letter  auto-
  106. matically, even without the "-N" switch.
  107.  
  108. 4)   When  CDn re-maps an existing drive or maps a previously unused  (new)
  109. drive,  it  also  makes that drive and path the current  path...  in  other
  110. words, it "switches" to the target path.  This is supremely useful in batch
  111.  
  112.  
  113.  
  114.  
  115.  
  116.                                   page 2
  117. files.   An exception is when you add the SEARCH drive modifier.  When  you
  118. create  a  SEARCH drive, CDn adds it to your path and updates  the  NetWare
  119. shell's  internal SEARCH table, but it maintains the current  path  without
  120. "switching".  Updating the shell's SEARCH table is required to ensure  that
  121. LOGOUT properly removes your SEARCH drives.
  122.  
  123. 5)  The display output of CDn can be routed to a text file or printer using
  124. standard DOS redirection like this:
  125.  
  126.      cdn sys:home\mary > maps.txt
  127.  
  128. This is important when you use the "@" function to restore a drive map.
  129.  
  130. 6)   If  you  want  Cdn  to  "remember" new drive  maps  so  that  you  can
  131. automatically  delete  them  later, you must load  the  companion  utility,
  132. CDnMEM  (see  "THE  CDnMEM RESIDENT BUFFER" below).  Cdn searches  for  the
  133. presence of CDnMEM each time it runs.
  134.  
  135.  
  136.                       OPERATING CDn - SOME EXAMPLES
  137.  
  138.    cdn sys:home\jeff\backup       Makes that path current on the default
  139.                                   file server.
  140.    cdn fs1/sys:home\jeff\backup   Now add a specific file server.
  141.    cdn fs1/william                Go to user WILLIAM's mail directory on  a
  142.                                   specific file server.
  143.    cdn -m -ns -r                  Make the current user's mail directory be
  144.                                   a new SEARCH drive with a fake root.
  145.    cdn b:=sys:xfer\floppy         Redefine non-existent local  drive  B: to
  146.                                   point to a directory on the file server.
  147.    cdn -dk                        Delete the map for drive  "K:"  (assuming
  148.                                   it exists).
  149.    cdn -d!                        Delete all drive maps and create 1  or  2
  150.                                   new maps as specified in the default path
  151.                                   option (see "SETTING THE DEFAULT PATH AND
  152.                                   SEARCH PATH" below).
  153.    cdn  or  cdn -sh               This is like typing "map" except the out-
  154.                                   put  is  trimmed  to  show  only  network
  155.                                   drives.   If you have a busy PATH set up,
  156.                                   this can be a nice feature.   Any  drives
  157.                                   with a fake root mapping  will  have  the
  158.                                   message "[fake root]" appended. If CDnMEM
  159.                                   is loaded and contains any drive letters,
  160.                                   a message will appear showing what drives
  161.                                   are currently in the buffer.   Generally,
  162.                                   if you see  only  one drive mapped and it
  163.                                   points to  SYS:LOGIN, then  you  are  not
  164.                                   logged to a file server.
  165.    cdn > c:\basemaps.txt          Create  a  drive  mapping   script   file
  166.                                   reflecting the current drive maps.
  167.    cdn @c:\basemaps.txt           Delete all current drive maps  and  remap
  168.                                   new  drives  based  on  the  script  file
  169.                                   "basemaps.txt".
  170.  
  171.  
  172.  
  173.  
  174.                                   page 3
  175.                         EXAMPLE-  WHERE  IS \LOGIN?
  176. You  have  probably noticed that as you move from machine to  machine,  the
  177. login drive changes, or if you login on drive F: then map a bunch of drives
  178. and  end up logging out on drive H:, your login drive is no longer F:-   it
  179. has  become  H:  and F: is now invalid.  You can use one of  CDn's  special
  180. command  line switches to handle this situation.  Just enter "CDn  -L"  and
  181. you  will always land in the login directory whether you are already logged
  182. in  or  not.  Here is an example of a batch file that will put you or  your
  183. users into a tight login loop:
  184.  
  185.      @ echo off
  186.      :top
  187.      cls
  188.      cdn -l                        ; find LOGIN drive and dir.
  189.      login                         ; execute the LOGIN program.
  190.      if errorlevel 1 goto lerror   ; if LOGIN failed...
  191.  
  192.      cdn -s                        ; check LOGIN status.
  193.      if errorlevel 1 goto top      ; if not logged, start over.
  194.  
  195.      who                           ; show version status and
  196.      pause                         ;   capture status.
  197.      cdn -sh                       ; show drive maps.
  198.      goto end                      ; exit this batch.
  199.  
  200.      :lerror                       ; if here, we failed to LOG IN.
  201.      pause                         ; pause to see error message.
  202.      goto top                      ; start over.
  203.  
  204.      :end
  205.  
  206. Note  how  we use "cdn -s" to determine if we have successfully logged  in.
  207. We  don't  really need to change to SYS:SYSTEM but knowing  that  CDn  will
  208. return a non-zero errorlevel if we are not logged in allows us to use  this
  209. utility for an extra purpose.
  210.  
  211.                            MULTIPLE FILE SERVERS
  212. If you are using CDn in a multiple file server environment, you can add the
  213. file server name to the target path like this:
  214.  
  215.      cdn fs2/sys:\public\messages
  216.  
  217. Just  as  with  the MAP command, you must be attached to  the  target  file
  218. server  before you can map any drives to it.  If you are not attached,  MAP
  219. will  stop  and  ask for a login name and password.  In contrast,  CDn  was
  220. designed to operate in batch files and will terminate with an error code if
  221. you  are not attached to the target server.  Also note that CDn understands
  222. the  Universal  Naming  Convention (sometimes called  "MS-NET")  method  of
  223. specifying  network  paths.  All of the following examples  mean  the  same
  224. thing to CDn:
  225.  
  226.      fs1/sys:public
  227.      fs1\sys:public
  228.      \\fs1\sys\public\
  229.  
  230.  
  231.  
  232.                                   page 4
  233.                            COMMAND LINE OPTIONS
  234. Here is a listing of the CDn special purpose switches.  The first group  of
  235. switches  should appear by themselves on the command line- in other  words,
  236. adding these switches to a network path would be an invalid command.
  237.  
  238. -L   Changes to SYS:LOGIN on default file server.            [-N |-NS |-R ]
  239. -P   Changes to SYS:PUBLIC on default file server.           [-N |-NS |-R ]
  240. -S   Changes to SYS:SYSTEM on default file server.           [-N |-NS |-R ]
  241. -M   Changes to the current user's SYS:MAIL directory on default file
  242.      server.                                                 [-N |-NS |-R ]
  243. -Dx  Deletes  a  drive mapping (including a SEARCH drive) where  x  is  the
  244.      drive letter.
  245. -D*  Deletes ALL drive mappings.
  246. -D!  Deletes ALL drive mappings except those defined as the default map and
  247.      default SEARCH (see "SETTING THE DEFAULT PATH AND SEARCH PATH" below).
  248. -SH  SHows current network drive map list.
  249.  
  250. If CDnMEM is loaded...
  251. -CL  Clears the memory resident new drive list without deleting  any  drive
  252.      mappings.
  253. -RM  Removes  all entries in the memory resident drive buffer  and  deletes
  254.      the corresponding drive mappings.
  255.  
  256. These switches are used in combination with other command line options  but
  257. never by themselves.
  258. -N   Forces CDn to use a NEW (not currently used) drive letter.
  259. -NS  CDn will use a NEW drive letter and make it a SEARCH drive.  Note that
  260.      CDn does not switch to the new SEARCH drive.
  261. -R   CDn will make a "MAP ROOT" drive.
  262.  
  263. There  is  an  additional command variant supported that  will  read  drive
  264. mappings out of an ASCII script file.  When you use "CDn @filespec" all  of
  265. your current drive mappings will be deleted and the specified  file will be
  266. used  to create a new series of drive maps.  Use the redirection feature of
  267. CDn to create the text file.
  268.  
  269.                  SETTING THE DEFAULT PATH AND SEARCH PATH
  270. You can specify a network path to be the default drive map and SEARCH drive
  271. map  for  use with the "-d!" switch.  For example, if you select "SYS:HOME"
  272. as  the default path and "SYS:PUBLIC" as the default SEARCH path, when  you
  273. invoke "cdn -d!", all current drive maps will be deleted and two new  drive
  274. maps will be created as follows:
  275.  
  276.      F: will be mapped to SYS:HOME
  277.      Z: will be a SEARCH drive mapped to SYS:PUBLIC
  278.  
  279. This is an example- the actual drive letters may be different on  your  PC.
  280. You are not required to use both strings; either of them can be omitted  to
  281. meet  your  individual needs or both can be removed if you wish to  disable
  282. this  function.   Both  strings are present  by  default  and  are  set  to
  283. "SYS:PUBLIC".  The strings are placed in the CDn executable and are located
  284. near  the  end  of the file.  You can also edit the strings manually  using
  285. DEBUG  or  a hex editor.  The default path is immediately preceded  by  the
  286. string "DEFAULT PATH===>".  The default SEARCH path is immediately preceded
  287.  
  288.  
  289.  
  290.                                   page 5
  291. by  the  string  "DEFAULT  SEARCH=>".   Both  strings  are  limited  to  64
  292. characters including a 0 termination byte.
  293.  
  294. Registered users will receive CDnFLG,  a menu driven utility that lets you-
  295.      1)  make changes to the DEFAULT PATH and SEARCH strings.
  296.      2)  Toggle the "search for CDnMEM" flag.
  297.      3)  Toggle the "show Shareware message" flag.
  298.      4)  Change the four available command line switch characters.
  299.  
  300.                    DELETING DRIVE MAPS FROM A BATCH FILE
  301. You might ask "what if I delete the current drive?".  If you are running  a
  302. batch  file, you have no way of determining if you are deleting the current
  303. drive,  so  what  happens?  Nothing; the NetWare shell just  makes  another
  304. drive current, usually a local drive.  In any case, you don't have to worry
  305. about  being bumped to another drive after deleting a map because  CDn  can
  306. always take you to a known location.
  307.  
  308.                               COMPATIBILITY
  309. CDn  coexists peacefully with the NetWare MAP command.  Any drives  created
  310. with  the  MAP command can be remapped or deleted with CDn and  any  drives
  311. created by CDn can be remapped or deleted with the MAP command.  If you are
  312. using   the  CDnMEM  resident  buffer,  any  drives  deleted  by  MAP   are
  313. automatically removed from the buffer, but drives created by  MAP  are  NOT
  314. automatically added to the buffer.
  315.  
  316.                         THE CDnMEM RESIDENT BUFFER
  317. CDn  comes  with  a companion utility, CDnMEM.COM.  This  is  an  extremely
  318. benign  and well behaved TSR that uses only 256 bytes of RAM when resident.
  319. CDnMEM  does not grab any interrupt vectors, does not "pop-up"  or  in  any
  320. other  way  interact with the system.  The sole purpose  of  CDnMEM  is  to
  321. "remember" new drives that are created by CDn.  Whenever CDn creates a  NEW
  322. drive letter, it adds that drive to the resident buffer. CDnMEM is istalled
  323. by typing "cdnmem /i" on the command  line  (or in your AUTOEXEC.BAT file).
  324. Because it is so unobtrusive, CDnMEM can be  uninstalled  at  any  time  by
  325. typing "cdnmem /u" even  if other TSR's have been loaded on top of it.  You
  326. can also  install CDnMEM  at  the beginning of a batch file, use CDn to map
  327. and remove drive letters, and then uninstall it as you exit the batch file.
  328. CDnMEM will not install another copy of  itself  if  it  has  already  been
  329. loaded.  When CDnMEM is loaded, there are two additional switches available
  330. to CDn-
  331.  
  332. The  "-RM" switch will ReMove (un-map) any drive mappings that are retained
  333. in the resident buffer.
  334.  
  335. The  "-CL"  switch will CLear any drives in the resident buffer-  in  other
  336. words, it will reset the buffer to blanks but it will not un-map any of the
  337. drives.   This is useful when you want to create and delete drive  mappings
  338. in  a  batch  file and you want to be sure you are starting  with  a  blank
  339. slate.  Just add this command to the start of your batch file.
  340.  
  341. CDnMEM can be loaded high if your DOS version or  memory  manager  software
  342. (such as QEMM) supports a loadhi function.  See your DOS manual  or  memory
  343. manager  documentation for an explanation of how  to  load  programs  high.
  344.  
  345.  
  346.  
  347.  
  348.                                   page 6
  349. If  you are not using CDnMEM, you may want to use CDnFLG to set the "search
  350. for  CDnMEM"  flag  to false.  This will force Cdn to  NOT  check  for  the
  351. presence of CDnMEM every time it runs.
  352.  
  353.                         WHAT ABOUT THE VLM SHELLS?
  354. CDn  will  work  with the VLM shells provided that the module  NETX.VLM  is
  355. loaded.  If the NETX module is not loaded, CDn will return with the message
  356. "NetWare shell not loaded".  A major goal for the next version of CDn is to
  357. support the VLM shells directly.
  358.  
  359.                            A WORD ABOUT WINDOWS
  360. If  you are using Microsoft Windows you can use CDn in a DOS window with no
  361. problem.  By default, Windows tries to isolate tasks from each other  which
  362. results  in some strange behavior-  if you create a new drive with  CDn  or
  363. MAP  in  a  DOS box, that drive will not be available to any other  Windows
  364. tasks,  and  when  you  quit  Windows, any drives  you  created  will  have
  365. disappeared.  Sometimes, this might seem like a nice feature, but if you do
  366. want  to  share  your drive maps across Windows tasks, you can  change  the
  367. default  by  editing  your SYSTEM.INI file.  You  can  edit  this  file  by
  368. clicking  on  FILE/RUN from Program Manager, type SYSEDIT  on  the  command
  369. line,  and click OK.  Four cascaded windows will appear- click on  the  one
  370. titled SYSTEM.INI.  Search for the heading [NetWare].  If you can not  find
  371. it,  just  add it to the end of the file.  Add the following line to  share
  372. drive maps between tasks.
  373.  
  374.      [NetWare]
  375.      NWSHAREHANDLES=TRUE
  376.  
  377. Add the following line to retain drive maps you  have  created  or  deleted
  378. when you leave Windows.
  379.  
  380.      RESTOREDRIVES=FALSE
  381.  
  382. If  you use CDnMEM, you should load it before starting Windows.  Since  you
  383. can  only  load  one  copy  of CDnMEM, trying to load  it  repeatedly  from
  384. multiple  DOS sessions will fail.  When you use CDnMEM from a DOS  session,
  385. also  note that all DOS windows share the same resident buffer, so  if  you
  386. add  drive  G:  (for  example) from DOS session 1, it will  appear  in  the
  387. resident  buffer of DOS session 2 even if drive G: does not exist  in  that
  388. session.   This is not necessarily a problem, but you should  be  aware  of
  389. this  behavior  in  case  you normally run more  than  1  simultaneous  DOS
  390. session.
  391.  
  392.                         USING CDn IN LOGIN SCRIPTS
  393. You  can  use CDn in NetWare login scripts.  Just add a line to your  login
  394. script like this (for example, assuming CDn.COM is located in SYS:PUBLIC):
  395.  
  396.      #sys:public\cdn sys:\
  397.  
  398. There  is no reason to do this- LOGIN.EXE handles drive mapping internally,
  399. and  my tests have shown that the LOGIN process is marginally faster if you
  400. let LOGIN.EXE do the mapping.
  401.  
  402.  
  403.  
  404.  
  405.  
  406.                                   page 7
  407.                             SWITCH  CHARACTERS
  408. You can use the "/", "-", "#"  or  ";"  as a switch character when specify-
  409. ing command line options.  These  switches  can  be changed with the CDnFLG
  410. utility distributed to registered users.
  411.  
  412.                       ABSOLUTE  AND  RELATIVE PATHS
  413. CDn also handles relative paths and paths with drive letters just like  the
  414. "CD" command.  CDn however, will change both the drive and the path at  the
  415. same time.  These are all valid CDn commands (provided the drives and paths
  416. exist):
  417.      cdn c:\windows
  418.      cdn ..\..\users
  419.      cdn \windows\system
  420.  
  421. Note  that  the relative path format "cdn windows" is not supported-  if  a
  422. path  does  not  start with a file server name, volume name, drive  letter,
  423. ".", or "\" CDn assumes you are asking for a user's mail directory.
  424.  
  425.                                  MESSAGES
  426. In  normal use, CDn displays very few informational messages.  If an  error
  427. occurs however, there are several error messages  that  may  be  displayed.
  428. All error messages also result in a non zero  DOS  errorlevel return inside
  429. a batch file.  The following is a list of possible messages.
  430.  
  431.                     INFORMATIONAL MESSAGES (no error)
  432. New drive mapped as X:
  433.       Any  time CDn maps a previously unused drive letter this message will
  434.       be displayed replacing "X" with the actual drive letter.
  435.  
  436. The mapping for drive X: has been deleted.
  437.       Any time you delete a drive map with the "-d" or the "-r" switch this
  438.       message will be displayed replacing "X" with the actual drive letter.
  439.  
  440. Resident buffer has not been loaded.
  441. Resident buffer was empty- no drive mappings have been deleted.
  442. Resident buffer was already clear.
  443. Resident buffer has been cleared only- no drive mappings have been deleted.
  444.      These messages will appear when you invoke CDn with the  "-r"  or  the
  445.      "-c" switch and the CDnMEM buffer is either not loaded or is empty.
  446.  
  447.                          ERROR MESSAGES, COMMON
  448. User not logged in.
  449. Specified path is invalid.
  450. NetWare shell is not loaded.
  451. Specified volume is invalid - volume names have a maximum of 16 characters.
  452. Specified volume does not exist.
  453. Specified file server is invalid.
  454. You are not attached to known file server FS2
  455. Cannot map NEW drive...  all permanent drives are currently mapped.
  456. Cannot map SYS: volume...  all available drives are mapped either as SEARCH
  457.      drives, or to a volume other than SYS:.
  458. Cannot  map  target volume...  all available drives are  mapped  either  as
  459.      SEARCH drives, or to a volume other than the target.
  460. No such user in Bindery - JAMES
  461. User does not have a mail directory - JAMES
  462. drive is not in the range "A-Z".
  463. drive is not a network drive.
  464.                                   page 8
  465.                         ERROR MESSAGES, UNCOMMON
  466. With  the exception of the "NetWare shell not loaded" message, I have never
  467. seen these messages except under simulated error conditions.
  468.  
  469. Must be running NetWare v2.10 or better.
  470. Must have NetWare shell v3.01 or better.
  471. Insufficient memory to run.
  472. Existing network drive found, but CDn could not make that drive current.
  473. Unable to map drive X:
  474. Cannot delete mapping for drive J:...
  475. You are connected, but not attached to the specified file server.
  476. Specified drive does not exist.
  477. Could not allocate space in resident memory buffer.
  478.  
  479.                                 RELIABILITY
  480. CDn  has been tested extensively on a NetWare v3.12/v2.15 dual file  server
  481. system- this is a 35 user production network on which CDn has been in daily
  482. use  for  about  one year at the time of this writing.  CDn  has  also  had
  483. limited  testing  under NetWare 2.2, 3.11 and 4.01.  CDn  has  been  tested
  484. under  several workstation OS versions including MSDOS 3.3, 4.01, 5.0,  6.0
  485. and  6.2.  Final testing was performed by myself on the 43 file server  WAN
  486. at ABC studios in Hollywood, CA.
  487.  
  488. CDn  has CTRL/C and CTRL/BREAK handlers to avoid the unpleasant results  of
  489. unexpected  termination.   In  keeping with the  intent  of  a  batch  file
  490. utility,  there are no messages which require a keystroke to  clear.   Even
  491. the  "usage"  message which has multiple screens will pause for  2  seconds
  492. between screens, and will then automatically continue.
  493.  
  494.                            DOS ERRORLEVEL RETURNS
  495. Here  is a list of the possible errorlevel return codes.  Most of the time,
  496. you  will  probably not need (or want) to get this detailed.  Personally, I
  497. check for errorlevel = 1 which will trap them all.
  498.  1   insufficient DOS version.
  499.  2   insufficient memory.
  500.  3   syntax error (shows USAGE message).
  501.  4   NetWare shell is not loaded.
  502.  5   user is not logged.
  503.  6   insufficient NetWare OS or NetWare shell version.
  504.  7   invalid file server.
  505.  8   you are not attached to target server.
  506.  9   undefined.
  507. 10   invalid volume.
  508. 11   user has no mail directory.
  509. 12   path is invalid.
  510. 13   could not map.
  511. 14   no free drives.
  512.  
  513.                             SYSTEM REQUIREMENTS
  514. To  run  CDn, your file server(s) and workstations must meet the  following
  515. conditions:
  516.  
  517. Workstation must be running MSDOS v3.0 or better.
  518. NetWare shell must be v3.01 or better.
  519. File server must be running Advanced NetWare v2.10 or better.
  520.  
  521.  
  522.                                   page 9
  523.                              SHAREWARE NOTICE
  524. CDn  is copyrighted software distributed as shareware and may be used on  a
  525. 30-day  free  trial basis.  If at the end of 30 days you  find  CDn  to  be
  526. useful and you wish to continue it's use, you must register your copy based
  527. on  the fee plan shown below.
  528.  
  529. When  you  register,  you  will receive a diskette  containing  the  latest
  530. version of CDn as well as the utility CDnFLG that allows you to set the Cdn
  531. internal  flags  and  to  set the default path  and  search  path  strings.
  532. Registered  users will also receive a free upgrade to the next  release  of
  533. Cdn as soon as it is available.
  534.  
  535. Shareware  disk  and CD-ROM vendors, user groups, computer clubs,  bulletin
  536. board systems and individuals are permitted to copy and distribute CDn  for
  537. others  to  try on a 30-day free trial basis, provided that the program  is
  538. unmodified and is accompanied by this user's guide.  A reasonable  fee  may
  539. be charged for media, copying, and shipping and handling.
  540.  
  541.                               HOW TO REGISTER
  542. To  register  your  copy of CDn send your name and the  address  where  you
  543. receive  U.S. mail together with your payment to:
  544.                                Barry Brevik
  545.                               711 Calle Cardo
  546.                           Thousand Oaks, CA 91360
  547.  
  548. Please specify the diskette size you want (5.25" or 3.5").   You may pay by
  549. cash, check, money order, or postal money order,  in  U.S. dollars.  Checks
  550. and money orders must be drawn on a U.S. bank.
  551.  
  552.            +-----------------------------------------+--------+
  553.            |               Fee schedule              | Price  |
  554.            +-----------------------------------------+--------+
  555.            | 1 or 2 file servers, unlimited users    | $24.00 |
  556.            +-----------------------------------------+--------+
  557.            | 3 or more file servers, unlimited users | $39.00 |
  558.            +-----------------------------------------+--------+
  559.  
  560.                               SUPPORT POLICY
  561. Registered users of CDn are entitled to support at no additional cost for a
  562. minimum  of three months from the date of registration.  Within this  time,
  563. the  author,  when  contacted  via CompuServe  or  U.S.  mail  will  answer
  564. questions regarding the use of CDn and will attempt to correct any  failure
  565. by  CDn to function as described in this user's guide.  If during the three
  566. month  period  the  problem cannot be corrected, even if  that  problem  is
  567. caused  by  an incompatibility in the user's specific hardware or  software
  568. environment,  the user may request and will receive a full  refund  of  the
  569. registration fee.
  570.  
  571.                                 DISCLAIMER
  572. The  author  disclaims all warranties, expressed or implied, including  but
  573. not  limited  to  implied warranties of merchantability or  fitness  for  a
  574. particular purpose, with respect to CDn, the accompanying documentation and
  575. any  other  computer  programs  that appear as  part  of  the  distribution
  576. package.  In no event shall the author be liable for any damages, direct or
  577. consequential,  resulting from the use, misuse or  inability  to  use  this
  578. product,  even  if the author has been advised of the possibility  of  such
  579. damages.
  580.                                   page 10
  581.                                  FEEDBACK
  582. Comments,  criticisms, and suggestions regarding the  current  product  and
  583. possible  future  enhancements  to  CDn  are  welcome.   Please  send   any
  584. communications to the address or CompuServe account shown  at  the  end  of
  585. this document.
  586.  
  587.                             PROGRAMMER'S NOTES
  588. Both  CDn,  CDnMEM  and all the programs in the distribution  package  were
  589. written  entirely in Assembly Language.  Why?  My personal feeling is  that
  590. small utilities should BE small.  Although I program a variety of languages
  591. in  my  daily work, my favorite medium has always been MASM.  MASM is great
  592. for  small projects like this, however, there is a lot going on inside CDn-
  593. it weighs in at just a little over 6800 lines of source code!  With CDn,  I
  594. felt  that  execution speed was less important than size  on  disk  and  in
  595. memory,  so I concentrated my efforts in that area, and MASM lets  me  keep
  596. very tight control of wasted space.
  597.  
  598.                               ACKNOWLEDGMENTS
  599. During the development of this utility, several people were very helpful to
  600. me  in  offering their unselfish support, ideas and camaraderie.   I  would
  601. like to thank the following individuals:
  602.  
  603.     My wife, Cindy for encouragement, support and letting me work until
  604.                              the wolf's hour.
  605.                                      
  606.       Lawrence Couey of Novell Labs for pointing out in excruciating
  607.                         detail my biggest mistake.
  608.                                      
  609.     Brett Warthen of Infinite Technologies for his untiring support on
  610.                       the CompuServe Netwire forums.
  611.                                      
  612.     Steven Key of the University of Wisconsin-Whitewater for shining a
  613.            light on an area I thought was already bullet proof.
  614.                                      
  615.       Tom Ruby of Legal File Software for giving me an important clue
  616.               if I had only been sharp enough to realize it.
  617.                                      
  618.              William D. Cotten for giving it the critical eye.
  619.                                      
  620.         Elaine Pate for providing a truly impressive test platform.
  621.                                      
  622.      Greg Horton of SMTEK, INC for believing in me and allowing me to
  623.                          make this utility public.
  624.                                      
  625.        All of the sysops on the Netwire forum for making it the best
  626.                         support forum in the world.
  627.                                      
  628.                    The author of CDn can be reached at:
  629.                                      
  630.                                Barry Brevik
  631.                               711 Calle Cardo
  632.                          Thousand Oaks, CA  91360
  633.  
  634.             or on CompuServe at:    CIS account 70132,2277
  635.           or on the Internet at:    70132.2277@compuserve.com
  636.  
  637.  
  638.                                   page 11
  639.  
  640.